import moment from 'moment'

function handleDate(times, format) {
  return moment(times).format(format)
}

export default {
  handleDate
}
